package com.zhongan.domain.users;
/**
 * @author za-wufan
 *
 */
public class OauthAccessTokenDO {
    private String authenticationId; //该字段具有唯一性, 是根据当前的username(如果有),client_id与scope通过MD5加密生成的
    private String refreshToken; //
    private String tokenId; //从服务器端获取到的access_token的值
    private java.util.Date createTime;//create_time
    private String userName;
    private String clientId;
    private String token;
    private String authentication;
    public OauthAccessTokenDO() {
        super();
    }
    public OauthAccessTokenDO(String authenticationId,String refreshToken,String tokenId,java.util.Date createTime,String userName,String clientId,String token,String authentication) {
        super();
        this.authenticationId = authenticationId;
        this.refreshToken = refreshToken;
        this.tokenId = tokenId;
        this.createTime = createTime;
        this.userName = userName;
        this.clientId = clientId;
        this.token = token;
        this.authentication = authentication;
    }
    public String getAuthenticationId() {
        return this.authenticationId;
    }

    public void setAuthenticationId(String authenticationId) {
        this.authenticationId = authenticationId;
    }

    public String getRefreshToken() {
        return this.refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public String getTokenId() {
        return this.tokenId;
    }

    public void setTokenId(String tokenId) {
        this.tokenId = tokenId;
    }

    public java.util.Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getClientId() {
        return this.clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getToken() {
        return this.token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getAuthentication() {
        return this.authentication;
    }

    public void setAuthentication(String authentication) {
        this.authentication = authentication;
    }

}
